﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocList.aspx.cs" Inherits="DExcelServiceApp.DocList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <%--year:<asp:DropDownList ID="_ctlListYear" runat="server">
        </asp:DropDownList>
        domain:<asp:DropDownList ID="_ctlListBF" runat="server">
        </asp:DropDownList>
        org:<asp:DropDownList ID="_ctlListOrg" runat="server">
        </asp:DropDownList>--%>
    </div>
    <div>
        <table style="width: 100%;">
            <tr>
                <td style="width: 50%;" valign="top">
                    <h2>
                        doc list
                    </h2>
                    <table>
                        <asp:Repeater ID="_ctlListDoc" runat="server">
                            <HeaderTemplate>
                                <tr>
                                    <th>
                                        Name
                                    </th>
                                    <th>
                                        Version
                                    </th>
                                </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    <td>
                                        <a href="./Action/GetDoc.ashx?docid=<%#Eval("Id") %>">
                                            <%# Eval("Name") %></a>
                                    </td>
                                    <td>
                                    -
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                            </FooterTemplate>
                        </asp:Repeater>
                    </table>
                </td>
                <td valign="top">
                    <h2>
                        template list
                    </h2>
                    <table>
                        <asp:Repeater ID="_ctlListTemplate" runat="server">
                            <HeaderTemplate>
                                <tr>
                                    <th>
                                        Name(Code)
                                    </th>
                                    <th>
                                        Version
                                    </th>
                                </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    <td>
                                        <a href="./Action/GetDoc.ashx?templateid=<%#Eval("Id") %>">
                                            <%# Eval("Name") %>(<%#Eval("Code") %>) </a>
                                    </td>
                                    <td>
                                        <%#Eval("Version") %>
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                            </FooterTemplate>
                        </asp:Repeater>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
